<template>
    <view>
        <view class="empoy_box">
            <image :src="imageUrl" mode="scaleToFill" />

        </view>
        <view class="kongwenzi_box">{{ kongtext }}</view>
    </view>
</template>
<script>
export default {
    props: {
        imageUrl: {
            type: String,
            default: ''
        },
        kongtext: {
            type: String,
            default: '暂无数据',
        }
    },
    data() {
        return {

        }
    }
}
</script>
<style lang="scss" scoped>
.empoy_box {
    width: 479rpx;
    height: 384rpx;
    margin: auto;
    margin-top: 100rpx;

    image {
        width: 100%;
        height: 100%;
    }
}

.kongwenzi_box {
    width: 100%;
    height: 34rpx;
    line-height: 34rpx;
    text-align: center;
    font-size: 24rpx;
    font-weight: 400;
    color: rgba(128, 128, 128, 1);
    margin-top: 24rpx;
}
</style>